/**
 * 通用的js方法
 */

var RESULT_CODE_SUCC = "0";
var RESULT_CODE_FAIL = "1";

(function($){
  $.getUrlParam = function(name) {
	 var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
	 var r = window.location.search.substr(1).match(reg);
	 if (r!=null) return unescape(r[2]); return null;
}})(jQuery);

function isEmpty(value) {
	return value == null || value == "";
}